#include <bits/stdc++.h>

using namespace std;

const int maxm=180005;
const int maxw=2000005;

int bit_sum[maxw];
struct Q{ bool typ; int x,y,p,q;};
Q qry[maxm];
int ans[maxm];

inline int lowbit(const int &x){return x&(-x);}
inline void add(int p){
    for(;p<maxw;p+=lowbit(p))
        bit_sum[p]++;
}
inline int sum(int p){
    int ans=0;
    for(;p>0;p-=lowbit(p))
        ans+=bit_sum[p];
    return ans;
}

struct P{ int i,x;const bool operator < (const P &p) const{return x<p.x;}};
P pnt[maxm];
void cdq(int bg,int ed){
    if(bg==ed) return;
}

int main(){

}

